package p08.p0829;

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog("dog",1,"red");
        System.out.println("dog = " + dog.getName());
        System.out.println("dog = " + dog.getColor());

        dog.lookDoor();
        System.out.printf("----------------");
        System.out.printf("--------------\n");
        Cat cat = new Cat();
        cat.setName("sss");
        System.out.println("cat = " + cat.getName());
        cat.PlayGame();
    }
}
